CVE-2022-29185
Observable Timing Discrepancy in totp-rs
Description
totp-rs is a Rust library that permits the creation of 2FA authentification tokens per time-based one-time password (TOTP). Prior to version 1.1.0, token comparison was not constant time, and could theorically be used to guess value of an TOTP token, and thus reuse it in the same time window. The attacker would have to know the password beforehand nonetheless. Starting with patched version 1.1.0, the library uses constant-time comparison. There are currently no known workarounds.
INFO
Published Date :
May 20, 2022, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 6:58 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | LOW | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-29185
.
URL | Resource |
---|---|
https://github.com/constantoine/totp-rs/issues/13 | Issue Tracking Third Party Advisory |
https://github.com/constantoine/totp-rs/releases/tag/v1.1.0 | Release Notes Third Party Advisory |
https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249 | Third Party Advisory |
https://github.com/constantoine/totp-rs/issues/13 | Issue Tracking Third Party Advisory |
https://github.com/constantoine/totp-rs/releases/tag/v1.1.0 | Release Notes Third Party Advisory |
https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249 | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-29185
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-29185
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-29185
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-29185
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/constantoine/totp-rs/issues/13 Added Reference https://github.com/constantoine/totp-rs/releases/tag/v1.1.0 Added Reference https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 07, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/constantoine/totp-rs/issues/13 No Types Assigned https://github.com/constantoine/totp-rs/issues/13 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/constantoine/totp-rs/releases/tag/v1.1.0 No Types Assigned https://github.com/constantoine/totp-rs/releases/tag/v1.1.0 Release Notes, Third Party Advisory Changed Reference Type https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249 No Types Assigned https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249 Third Party Advisory Added CWE NIST CWE-203 Added CPE Configuration OR *cpe:2.3:a:totp-rs_project:totp-rs:*:*:*:*:*:rust:*:* versions up to (excluding) 1.1.0
Vulnerability Scoring Details
Base CVSS Score: 4.4
Base CVSS Score: 3.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.34 }} -0.13%
score
0.56141
percentile